set(COMPONENT_ADD_INCLUDEDIRS .)

set(COMPONENT_SRCS  "src/ble_scan.c"
                    "src/timer.c"
                    "src/flash.c")

set(COMPONENT_ADD_INCLUDEDIRS "include")

# 增加以下文件夹
set(COMPONENT_REQUIRES nvs_flash bt json)  

register_component()